package ma.moliere.persistance.oe;

// Generated 9 avr. 2013 00:21:01 by Hibernate Tools 3.4.0.CR1

import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;


@Entity
@Table(name = "inscription", catalog = "moliere")
public class Inscription implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 822854201551895120L;
	private Long id;
	private Date dateinscription;
	private String matricule;
	private Long anneescolaire;
	private Long groupe;
	private Long classe;
	private String nomeleve;
	private String prenomeleve;

	public Inscription() {
	}



	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "ID", unique = true, nullable = false)
	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "DATEINSCRIPTION", nullable = false, length = 19)
	public Date getDateinscription() {
		return this.dateinscription;
	}

	public void setDateinscription(Date dateinscription) {
		this.dateinscription = dateinscription;
	}

	@Column(name = "MATRICULE", nullable = false)
	public String getMatricule() {
		return this.matricule;
	}

	public void setMatricule(String matricule) {
		this.matricule = matricule;
	}

	@Column(name = "ANNEESCOLAIRE", nullable = false)
	public Long getAnneescolaire() {
		return this.anneescolaire;
	}

	public void setAnneescolaire(Long anneescolaire) {
		this.anneescolaire = anneescolaire;
	}

	@Column(name = "GROUPE")
	public Long getGroupe() {
		return this.groupe;
	}

	public void setGroupe(Long groupe) {
		this.groupe = groupe;
	}

	@Column(name = "CLASSE", length = 45)
	public Long getClasse() {
		return this.classe;
	}

	public void setClasse(Long classe) {
		this.classe = classe;
	}

	@Column(name = "NOMELEVE", length = 45)
	public String getNomeleve() {
		return this.nomeleve;
	}

	public void setNomeleve(String nomeleve) {
		this.nomeleve = nomeleve;
	}

	@Column(name = "PRENOMELEVE", length = 45)
	public String getPrenomeleve() {
		return this.prenomeleve;
	}

	public void setPrenomeleve(String prenomeleve) {
		this.prenomeleve = prenomeleve;
	}

}
